// 用于存储路由
export default {
  state: {
    menuRoutes: [],
  },
  mutations: {
    setMenuRoutes(state, routes) {
      state.menuRoutes = routes;
    },
  },
  actions: {
    setMenuRoutes({ commit }, routes) {
      commit('setMenuRoutes', routes);
    },
  },
};
